﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain
{
    /// <summary>
    /// 栏位表
    /// </summary>
    [Table("Fields")]
    public class Fields
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        public int FieIdId { get; set; }
        /// <summary>
        /// 栏位名称
        /// </summary>
        [StringLength(30)]
        public string? FieIdName { get; set; }
        /// <summary>
        /// 所在栋舍编号
        /// </summary>
        public int CottageId { get; set; }
    }
}
